package io.itit.ecp.admin.provide.action.resp;

import io.itit.ecp.admin.provide.selected.CarbonSinkSelected;
import io.itit.ecp.admin.provide.selected.MeterDeviceStaticsTypeSelected;
import io.itit.grass.dict.starter.annotation.Dict;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@Accessors(chain = true)
public class ActivityCarbonEmissionDataResp implements ISceneInfoResp {

    /**
     * 所属项目
     */
    private String sceneProjectId;

    /**
     * 楼栋ID
     */
    private String sceneEdificeId;

    /**
     * 楼层ID
     */
    private String sceneFloorId;

    /**
     * 空间Id
     */
    private String sceneRoomId;

    private String sceneInfoName;

    private String deviceCode;

    private String deviceName;

    @ApiModelProperty("能源类型Id")
    private String energyTypeId;

    @ApiModelProperty("能源类型名称")
    private String energyTypeName;

    @ApiModelProperty("能源类型单位")
    private String energyTypeUnit;

    @ApiModelProperty("统计类型")
    @Dict(dictCode = MeterDeviceStaticsTypeSelected.CODE, isBean = true)
    private String staticsType;

    @ApiModelProperty("计量数值")
    private BigDecimal meterValue;

    @ApiModelProperty("碳排放(kgCO2)")
    private BigDecimal carbonEmission;


    @ApiModelProperty("种植方式id")
    @Dict(dictCode = "CarbonSinkFactorSelected", isBean = true)
    private String carbonSinkId;

    /* 名称类型 */
    @ApiModelProperty("名称类型")
    @Dict(dictCode = CarbonSinkSelected.CODE, isBean = true)
    private String type;

    /* 面积（㎡） */
    @ApiModelProperty("面积")
    private BigDecimal area;

    public void setSceneInfoName(String sceneInfoName) {
        this.sceneInfoName = sceneInfoName;
    }

}
